// 618电商活动商品数据
const products = [
  {
    id: 1,
    name: "智能手机 Pro Max",
    price: 4999.00,
    originalPrice: 5999.00,
    description: "最新款智能手机，搭载高性能处理器，6.7英寸超清屏幕，5000mAh大电池，支持快充。",
    image: "images/51290b9fb3b08b5ca7baa78147bf2b44.webp",
    category: "电子产品",
    stock: 100,
    discount: "8.3折",
    tags: ["热销", "618特惠"]
  },
  {
    id: 2,
    name: "超薄笔记本电脑",
    price: 6999.00,
    originalPrice: 8999.00,
    description: "轻薄机身，强劲性能，16GB内存，512GB固态硬盘，15.6英寸全高清屏幕。",
    image: "images/51290b9fb3b08b5ca7baa78147bf2b44.webp",
    category: "电子产品",
    stock: 50,
    discount: "7.8折",
    tags: ["新品", "618特惠"]
  },
  {
    id: 3,
    name: "无线蓝牙耳机",
    price: 799.00,
    originalPrice: 1299.00,
    description: "主动降噪，长续航，舒适佩戴，高清音质，支持无线充电。",
    image: "images/51290b9fb3b08b5ca7baa78147bf2b44.webp",
    category: "电子产品",
    stock: 200,
    discount: "6.2折",
    tags: ["限时特惠", "618爆款"]
  },
  {
    id: 4,
    name: "智能手表",
    price: 1299.00,
    originalPrice: 1699.00,
    description: "健康监测，运动追踪，长续航，防水设计，多种表盘可选。",
    image: "images/watch.webp",
    category: "电子产品",
    stock: 150,
    discount: "7.6折",
    tags: ["热销", "618特惠"]
  },
  {
    id: 5,
    name: "家用空气净化器",
    price: 1499.00,
    originalPrice: 1999.00,
    description: "高效过滤，智能控制，静音设计，适用面积50平方米。",
    image: "images/purifier.webp",
    category: "家电",
    stock: 80,
    discount: "7.5折",
    tags: ["618特惠"]
  },
  {
    id: 6,
    name: "智能扫地机器人",
    price: 1999.00,
    originalPrice: 2599.00,
    description: "激光导航，智能规划路线，强劲吸力，远程控制，自动充电。",
    image: "images/robot.webp",
    category: "家电",
    stock: 60,
    discount: "7.7折",
    tags: ["618爆款"]
  }
];

// 导出产品数据，供其他JS文件使用
if (typeof module !== 'undefined' && module.exports) {
  module.exports = { products };
}